<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	<h:body>
		<ui:composition>
			<h:panelGrid columns="2">
				<h:outputLabel style="font-weight:bold" value="#{msg.reservationNumber}" />
	            <h:outputLabel value="#{reservation.id}" />

			    <h:outputLabel style="font-weight:bold" value="#{msg.operator}"/>	  
			    <h:outputLabel value="#{reservation.operator.getFullName()}"/>			    
			    			    
				<h:outputLabel style="font-weight:bold" value="#{msg.reservationDate}" />
	            <h:outputLabel value="#{manageBean.formatDate(reservation.reservationDate)}" />
			
				<h:outputLabel style="font-weight:bold" value="#{msg.travelDate}" />
	            <h:outputLabel value="#{manageBean.formatDate(reservation.scheduleCharter.schedule.date)}" />
	            
	            <h:outputLabel style="font-weight:bold" value="#{msg.travelTime}" />
	            <h:outputLabel value="#{reservation.scheduleCharter.schedule.time}" />
	            
	            <h:outputLabel style="font-weight:bold" value="#{msg.tripOrientation}" />
	            <h:outputLabel value="#{reservation.scheduleCharter.trip.getFormatTrip()}" />
	
				<h:outputLabel style="font-weight:bold" value="#{msg.charterNumber}" />
				<h:outputLabel value="#{reservation.scheduleCharter.charter.charterNumber}" />  
	
				<h:outputLabel style="font-weight:bold" value="#{msg.charterType}"/>
				<h:outputLabel value="#{manageBean.obtainDescription(reservation.scheduleCharter.charter.charterType.description)}" /> 
	
				<h:outputLabel style="font-weight:bold" value="#{msg.charterPlaces}"/>
				<h:outputLabel value="#{reservation.scheduleCharter.charter.places}" />   
	
				<h:outputLabel style="font-weight:bold" value="#{msg.scheduleDriver}"/>
				<h:outputLabel value="#{reservation.scheduleCharter.user.getFullName()}" /> 
			
				<h:outputLabel style="font-weight:bold" value="#{msg.full_name}" />
	     		<h:outputLabel value="#{reservation.user.getFullName()}"/>
	     			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.documentType}" />
			    <h:outputLabel value="#{manageBean.obtainDescription(reservation.user.documentType.description)}"/>
	            
	     		<h:outputLabel style="font-weight:bold" value="#{msg.documentNum}" />
			    <h:outputLabel value="#{reservation.user.dni}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.reservationType}"/>	
			    <h:outputLabel value="#{manageBean.obtainDescription(reservation.reservationType.description)}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.passengerType}"/>	
			    <h:outputLabel value="#{manageBean.obtainDescription(reservation.passengerType.description)}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.meanPayment}"/>	
			    <h:outputLabel value="#{manageBean.obtainDescription(reservation.meanPayment.description)}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.upOn}"/>	  
			    <h:outputLabel value="#{reservation.upOn}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.downOn}"/>	  
			    <h:outputLabel value="#{reservation.downOn}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.tripPrice}"/>	  
			    <h:outputLabel value="#{reservation.cost}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.reservationComments}"/>  
			    <h:outputLabel value="#{reservation.observation}"/>
			    
			    <p:outputPanel rendered="#{reservation.cancel}"><h2>#{msg.cancelationData}</h2></p:outputPanel>
			    <h:outputLabel value="" rendered="#{reservation.cancel}"/>
			    
			    <h:outputLabel style="font-weight:bold" value="#{msg.operator}"  rendered="#{reservation.cancel}"/>	  
			    <h:outputLabel value="#{reservation.cancelationMotive.operator.getFullName()}"  rendered="#{reservation.cancel}"/>

				<h:outputLabel style="font-weight:bold" value="#{msg.cancelationDate}" rendered="#{reservation.cancel}"/>
	            <h:outputLabel value="#{manageBean.formatDateTime(reservation.cancelationMotive.cancelationDate)}" rendered="#{reservation.cancel}"/>
	            
	            <h:outputLabel style="font-weight:bold" value="#{msg.cancelationType}" rendered="#{reservation.cancel}"/>
	            <h:outputLabel value="#{manageBean.obtainDescription(reservation.cancelationMotive.cancelationType.description)}" rendered="#{reservation.cancel}"/>
	            
	            <h:outputLabel style="font-weight:bold" value="#{msg.cancelationDescription}" rendered="#{reservation.cancel}"/>
	            <h:outputLabel value="#{reservation.cancelationMotive.cancelationDescription}" rendered="#{reservation.cancel}"/>
			
			</h:panelGrid>
			
			
		</ui:composition>
	</h:body>
</html>